package io.renren.sf.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import io.renren.sf.entity.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.sf.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author cyl_txw
 * @email cyl_txw@gmail.com
 * @date 2021-03-31 13:04:11
 */
@Mapper
public interface CbBookDao extends BaseMapper<CbBookEntity> {

    List<CbChapterPictureVo> getZJNRByBookId(@Param("bookId") Long bookId);

    List<CbAppreciationVo> getXsByBookId(@Param("bookId") Long bookId);
    List<CbAppreciationVo> getXsByBookId2(@Param("bookId") Long bookId);

    List<CbReadingVo> getRdByBookId(@Param("bookId") Long bookId);
    List<CbReadingVo> getRdByBookId2(@Param("bookId") Long bookId);

    List<CbObserveVo> getGcByBookId(@Param("bookId") Long bookId);
    List<CbObserveVo> getGcByBookId2(@Param("bookId") Long bookId);

    List<CbAnalyzeEntity> getFxByBookId(@Param("bookId") Long bookId);
    List<CbAnalyzeEntity> getFxByBookId2(@Param("bookId") Long bookId);

    List<CbBrushVo> getBfBybookId(@Param("bookId") Long bookId);
    List<CbBrushVo> getBfBybookId2(@Param("bookId") Long bookId);

    List<VideoVo> getVideoByBookId(@Param("bookId") Long bookId);
    List<VideoVo> getVideoByBookId2(@Param("bookId") Long bookId);

    List<CbContrastVo> getDbByBookId(@Param("bookId") Long bookId);
    List<CbContrastVo> getDbByBookId2(@Param("bookId") Long bookId);

    List<CbPracticeEntity> getStlxByBookId(Long bookId);

    List<BookEditionInfoVo> getAllBookEditionInfoVo();

    List<CbFixUnitVo> getFixUnitList(@Param("bookId") Long bookId);

    List<CbTypefaceVo> getWordList(Long bookId);

    List<CbPracticeEntity> getStlxByBookId2(@Param("bookId") Long bookId);

    List<CbTypefaceEntity> getTypefaceByBookId(@Param("bookId") Long bookId);
    List<CbTypefaceEntity> getTypefaceByBookId2(@Param("bookId") Long bookId);
}
